<div id="chart_ccu" class="chart"></div>

<script type="text/javascript">
    PHP_PARAMS.default_ccu_view = new Object();
    PHP_PARAMS.default_ccu_view.ccu_time_start = <?php echo $time_start; ?>;
    PHP_PARAMS.default_ccu_view.ccu_values = <?php echo json_encode($vals) ?>;
    PHP_PARAMS.default_ccu_view.ccu_interval = <?php echo CONST_CCU_INTERVAL ?>;
</script>
